<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Cache-Control" content="no-cache" />
  <meta http-equiv="Expires" content="86400" />
  <title><%= CUSTOM_RITERAL[:app_title] -%></title>
<script language="JavaScript" type="text/javascript">
<!--
var relative_url_root = '<%= controller.request.relative_url_root -%>';
//-->
</script>
  <%= skip_stylesheet_link_tag 'style' %>
  <%= skip_stylesheet_link_tag 'nyroModal.full.css' %>

  <%= skip_javascript_include_tag 'prototype' %>
  <%= skip_javascript_include_tag "skip_util" %>
  <%= skip_javascript_include_tag 'jquery.js' %>
  <script language="JavaScript" type="text/javascript">$j = jQuery.noConflict();</script>
  <%= skip_javascript_include_tag "jquery.nyroModal.js" %>
  <%= javascript_include_tag "application" %>

  <style type="text/css">
#login {
  border:1px solid red;
  margin: 10px;
  width: 170px;
  padding: 2px;
  border: 1px solid silver;
  background-color: #f0f0ff;
  font-size: 12px;
}
  </style>
</head>

<body style="background-color: #fafafa;"><center><div style="width: 50%; margin-top: 30px; border: 1px solid silver; padding: 1px; background-color: white;">

<div style="margin: 0 0 0 0; padding: 4px; text-align: left; font-size: 18px; font-weight: bold; background-color:#DDFFDD;">ログインが必要です</div>

<div style="margin: 5px 0px 10px 0px; padding: 3px 10px 3px 10px; background-color: #EEFFEE; border: #FFC000 1px dashed;"><p>以降の操作のためには<%= CUSTOM_RITERAL[:abbr_app_title] -%>へのログインが必要です。以下よりログインしてください。</p></div>

<%= render :partial => "login_failed_message" %>

<div id="login"><%= render :partial => 'shared/login_form' %></div>

<div style="border: 1px solid silver; padding: 5px 10px; background-color: #f0f0ff; text-align: center;">
  <a href="mailto:<%= CUSTOM_RITERAL[:contact_addr] -%>" target="_blank">[お問い合わせ]</a>
  <a href="#" onclick="javascript:getSubwindowRule()">[利用規約]</a>
</div>

<p id="my_footer"><%= CUSTOM_RITERAL[:footer_copyright] -%></p>

</div></center></body>

</html>
